Get the Correct Hazard Ratio from SAS PROC PHREG Procedure
نویسنده
چکیده
Cox proportional hazards model is a commonly used model in providing hazard ratio to compare survival times of two population groups. The exponentiated linear regression part of the model describes the effects of explanatory variables on hazard ratio. PROC PHREG is a SAS procedure that implements the Cox model and provides the hazard ratio estimate. The estimate is interpreted as the percent change in the hazards of the two population groups given an increase of one unit in a given explanatory variable and conditional on fixed values of all other explanatory variables. When the increase in the given explanatory variable is not equal to one unit, the hazard ratio estimate should be interpreted with caution. This paper illustrates this issue via an example with a multi-level treatment group variable as an explanatory variable. The paper provides three options (with sample codes) to obtain the correct hazard ratio when the increase in the explanatory variable is not equal to one unit: 1> Computing from the regression coefficient estimates of PROC PHREG output, 2> Recoding the values of the explanatory variable such that the increase is equal to one unit, 3> Using the CLASS statement to specify the explanatory variable in PROC TPHREG (experimental) procedure. This paper is not limited to any particular operating system. It is intended for users with some survival analysis and basic SAS data steps knowledge. INTRODUCTION In survival analysis, the hazard function is a useful way to describe the distribution of survival times. The hazard ratio is the ratio of the hazard functions between two population groups. If the hazard ratio estimate is less than one, this means that the hazard function for the first group is smaller than that for the second group. Cox proportional hazards model (Cox model) is a commonly used semi-parametric model in computing the hazard ratio estimates. It is a general proportional hazards model which does not require to specify the underlying survival function. The model assumes a parametric form (exponentiated linear regression form) for the effects of the explanatory variables and an unspecified non-parametric form for the underlying survival function. Thus, the Cox model can provide estimate on the hazard ratio without knowing the underlying survival function. With the parametric assumption that the relationship between the explanatory variables and the log hazard is linear, and further assumption that the effects of the explanatory variables are the same at all values of time (that is, the explanatory variables are not time dependent), a typical form of the Cox model is (Note: Equations in this section are from Survival Analysis Using the Proportional Hazards Model, Instructor-based Training Course Notes. 2005. Cary, NC: SAS Institute Inc.): } ... { 0 2 2 1 1 ) ( ) ( ik k i i X X X i e t h t h β β β + + + = Baseline hazard function Linear function of explanatory variables Taking the logarithm of both sides of the above equation, the model becomes ik k i i i X X X t h t h β β β + + + + = ... ) ( log ) ( log 2 2 1 1 0 The hazard ratio between group A and group B is:
منابع مشابه
Advanced Statistical and Graphical features of SAS® PHREG
ABSTRACT Survival analysis involves the modeling of time-to-event data whereby death or failure is considered an "event". The graphic presentation of Cox proportional hazards model using SAS PHREG is a significant tool which facilitates effective data exploration in survival analysis. The SAS PROC PHREG can generate some of the useful survival analysis plots using the ODS graphics option in ver...
متن کاملFitting Cox Model Using PROC PHREG and Beyond in SAS
Cox proportional hazard model has been widely used for survival analysis in many areas in investigating time-to-event data. PROC PHREG in SAS has been a powerful tool used for construction of a Cox model. In addition to the STATEMENTs and OPTIONs within PHREG that have already provided the most demanded output, a little more effort on data manipulation would accomplish the calculations and gene...
متن کاملRisk Evaluation after Heart Valve Replacement by Sas Proc Phreg
Identification of long-term risk factors after heart valve replacement can be quite challenging due to the nature of the covariates. Two specific factors need to be considered : (1) time-dependent covariates, and (2) the validity of the proportional hazard model. PHREG in SAS® is a very convenient procedure for solving these problems. In addition to those commonly encountered problems such as v...
متن کاملA Stepwise Algorithm for Generalized Linear Mixed Models
Stepwise regression includes regression models in which the predictive variables are selected by an automated algorithm. The stepwise method involves two approaches, namely, backward elimination and forward selection. Currently, SAS has several regression procedures capable of performing stepwise regression. Among them are REG, LOGISTIC, GLMSELECT and PHREG. PROC REG handles linear regression m...
متن کاملAnalysis of Survival Data with Clustered Events
Two methods to analyzing survival data with clustered events are presented. The first method is a proportional hazards model which adopts a marginal approach with a working independence assumption. This model can be fitted by SAS PROC PHREG with the robust sandwich estimate option. The second method is a likelihood-based random effects (frailty) model. In the second model, the baseline hazard c...
متن کامل